package dao

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Mobile string `gorm:"type:char(11);not null;comment:'手机号'"`
}
type MobileTable struct {
	gorm.Model
	Name     string  `gorm:"type:varchar(30);not null;comment:'手机名称'"`
	Color    string  `gorm:"type:varchar(30);not null;comment:'手机颜色'"`
	Size     int     `gorm:"type:int(11);not null;comment:'大小'"`
	BuyStyle string  `gorm:"type:varchar(30);not null;comment:'购买方式'"`
	Price    float64 `gorm:"type:decimal(10,2);not null;comment:'价格'"`
}
